package com.molichuxing.services.business.dto.request.create;

import com.molichuxing.framework.dto.RequestRootDto;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 线下支付新增
 * </p>
 *
 * @author zhaopenghui
 * @since 2019-08-22
 */
@Data
public class OfflineBizCreateDto extends RequestRootDto {
    private static final long serialVersionUID = -4287345625962576925L;

    /**
     * 流水编号 serial_number
     */
    private String serialNumber;

    /**
     * 还款类型(1:经销商, 2:用户)  repay_type
     */
    private Integer repayType;

    /**
     * 付款人 pay_name
     */
    private String payName;

    /**
     * 付款银行账号 pay_bank_account
     */
    private String payBankAccount;

    /**
     * 付款金额 pay_amount
     */
    private BigDecimal payAmount;

    /**
     * 付款时间 pay_time
     */
    private LocalDateTime payTime;

    /**
     * 经销商id dealer_id
     */
    private Integer dealerId;

    /**
     * 收款公司 receipt_company
     */
    private String receiptCompany;

    /**
     * 收款银行账号 receipt_bank_account
     */
    private String receiptBankAccount;

    /**
     * 收款开户行 receipt_bank
     */
    private String receiptBank;

    /**
     * 流水凭证 voucherImgList
     */
    private List<String> voucherImgList;

    /**
     * 申请人id apply_id
     */
    private Integer applyId;

    /**
     * 申请人姓名 apply_name
     */
    private String applyName;

    /**
     * 申请时间 apply_time
     */
    private LocalDateTime applyTime;

    /**
     * 线下还款list
     */
    private List<OfflineOrdersBizCreateDto> offlineOrdersList;

}
